package top.api.service;

import top.api.common.ResUlt;
import top.api.domain.dto.PageDto;
import top.api.domain.dto.StudentAddDto;
import top.api.domain.dto.StudentEditDto;
import top.api.domain.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 27465
* @description 针对表【student】的数据库操作Service
* @createDate 2023-12-16 23:17:47
*/
public interface StudentService extends IService<Student> {

    ResUlt<?> pageList(PageDto pageDto, Integer id, Integer classno, String name);

    ResUlt<?> getStudentInfo(Integer id);

    ResUlt<?> addStudent(StudentAddDto studentAddDto);

    ResUlt<?> editStudent(StudentEditDto studentEditDto);

    ResUlt<?> delStudent(List<Integer> ids);
}
